package com.neusoft.elm.service;

import com.neusoft.elm.dao.FoodDao;
import com.neusoft.elm.po.Food;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FoodServiceImpl implements FoodService {
    @Autowired
    private FoodDao foodDao;
    @Override
    public List<Food> listFoodByBusinessId(Integer businessId) throws Exception{
        return foodDao.listFoodByBusinessId(businessId);
    }

}
